<template>
  <div class="bg_fff main">
    <div class="btn-list">
      <el-button type="primary" icon="el-icon-refresh" size='small'>刷新</el-button>
      <el-button type="primary" icon="el-icon-back" size='small'>返回</el-button>
    </div>
    <h3 class="title"><i class="el-icon-user-solid"></i>编辑信息</h3>
    <div class="p20 w30">
      <el-form ref="form" :model="form" label-width="120px">
        <el-form-item label="真实姓名">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="身份证号码">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="银行卡号">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="支行名称">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="支付宝帐号">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="个人描述">
          <el-input type="textarea" v-model="form.desc"></el-input>
        </el-form-item>
        <el-form-item label="帐号状态">
          <el-switch v-model="form.delivery"></el-switch>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" @click="onSubmit" size='small'>修改</el-button>
        </el-form-item>
      </el-form>
    </div>
    
    
  </div>
</template>
<script>
export default {
  data() {
    return {
       form: {
          name: '',
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          type: [],
          resource: '',
          desc: ''
        }
    }
  },
  methods: {
    onSubmit(){
      console.log(this.form.delivery)
    }
  }
};

</script>
<style lang='less' scoped>

</style>
